class ServiceOrderDdetailData {
  String? markTime;
  String? name;
  String? officeId;
  String? officeName;
  String? officeUserId;
  String? orderRemark;
  String? orderServeAddress;
  String? orderServeCode;
  String? orderServeHuman;
  String? humanMobile;
  String? orderServeItemName;
  String? orderServeTypeName;
  String? originalPrice;
  String? phone;
  String? roomName;
  String? serveId;
  String? serveName;
  String? staffMobile;
  String? staffName;
  String? statusId;
  String? statusName;
  String? typeId;
  String? floorName;
  String? buildingName;
  int? id;
  List<ServeAttachListListBean>? serveAttachList;
  String? site;
  String? payWayName;
  dynamic serveRequestOrderId;

  ServiceOrderDdetailData(
      {this.markTime,
      this.humanMobile,
      this.name,
      this.typeId,
      this.officeId,
      this.officeName,
      this.officeUserId,
      this.orderRemark,
      this.orderServeAddress,
      this.orderServeCode,
      this.orderServeHuman,
      this.orderServeItemName,
      this.orderServeTypeName,
      this.originalPrice,
      this.phone,
      this.roomName,
      this.serveId,
      this.serveName,
      this.staffMobile,
      this.staffName,
      this.statusId,
      this.statusName,
      this.id,
      this.serveAttachList,
      this.buildingName,
      this.floorName,
      this.serveRequestOrderId,
      this.site,
        this.payWayName
      });

  ServiceOrderDdetailData.fromJson(Map<String, dynamic> json) {
    this.markTime = json['markTime'];
    this.name = json['name'];
    this.officeId = json['officeId'];
    this.officeName = json['officeName'];
    this.officeUserId = json['officeUserId'];
    this.orderRemark = json['orderRemark'];
    this.orderServeAddress = json['orderServeAddress'];
    this.orderServeCode = json['orderServeCode'];
    this.orderServeHuman = json['orderServeHuman'];
    this.orderServeItemName = json['orderServeItemName'];
    this.orderServeTypeName = json['orderServeTypeName'];
    this.originalPrice = json['originalPrice'];
    this.phone = json['phone'];
    this.roomName = json['roomName'];
    this.serveId = json['serveId'];
    this.serveName = json['serveName'];
    this.staffMobile = json['staffMobile'];
    this.staffName = json['staffName'];
    this.statusId = json['statusId'];
    this.statusName = json['statusName'];
    this.typeId = json['typeId'];
    this.humanMobile = json['humanMobile'];
    this.floorName = json['floorName'];
    this.buildingName = json['buildingName'];
    this.site = json['site'];
    this.id = json['id'];
    this.payWayName = json['payWayName'];
    this.serveRequestOrderId = json['serveRequestOrderId'];
    this.serveAttachList = (json['serveAttachList']) != null
        ? (json['serveAttachList'] as List)
            .map((i) => ServeAttachListListBean.fromJson(i))
            .toList()
        : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['markTime'] = this.markTime;
    data['name'] = this.name;
    data['officeId'] = this.officeId;
    data['officeName'] = this.officeName;
    data['officeUserId'] = this.officeUserId;
    data['orderRemark'] = this.orderRemark;
    data['orderServeAddress'] = this.orderServeAddress;
    data['orderServeCode'] = this.orderServeCode;
    data['orderServeHuman'] = this.orderServeHuman;
    data['orderServeItemName'] = this.orderServeItemName;
    data['orderServeTypeName'] = this.orderServeTypeName;
    data['originalPrice'] = this.originalPrice;
    data['phone'] = this.phone;
    data['roomName'] = this.roomName;
    data['serveId'] = this.serveId;
    data['serveName'] = this.serveName;
    data['staffMobile'] = this.staffMobile;
    data['staffName'] = this.staffName;
    data['statusId'] = this.statusId;
    data['statusName'] = this.statusName;
    data['humanMobile'] = this.humanMobile;
    data['typeId'] = this.typeId;
    data['id'] = this.id;
    data['buildingName'] = this.buildingName;
    data['floorName'] = this.floorName;
    data['payWayName'] = this.payWayName;
    data['serveRequestOrderId'] = this.serveRequestOrderId;
    data['serveAttachList'] = this.serveAttachList != null
        ? this.serveAttachList?.map((i) => i.toJson()).toList()
        : null;
    return data;
  }
}

class ServeAttachListListBean {
  int? attachId;

  ServeAttachListListBean({this.attachId});

  ServeAttachListListBean.fromJson(Map<String, dynamic> json) {
    this.attachId = json['attachId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['attachId'] = this.attachId;
    return data;
  }
}
